<div class="container">
	<div class="row">
        <section class="has-padding">
		<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
						<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

							<div class="mt-date">
								<?php echo get_the_date( get_option('date_format'), $post->ID); ?>
							</div><!--/.mt-date-->

							<div class="entry-header">
								<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
							</div><!-- .entry-header -->

							<div class="entry-meta">
								<?php echo __('Written by: ', 'pixova-lite') . '<a href="'.esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ).'" rel="author">'.get_the_author().'</a>'; ?>
								<?php echo '&middot;'; ?>
								<?php echo __('Posted in: ', 'pixova-lite').get_the_category_list(', ', '', false); ?>
								<?php echo '&middot;'; ?>
								<?php the_tags( __('Tags:', 'pixova-lite') , ', ', '<br />' ); ?>
							</div><!--/.entry-meta-->

							<?php if( has_post_thumbnail() ) { ?>
								<div class="entry-featured-image">
									<?php echo get_the_post_thumbnail($post->ID, 'pixova-lite-featured-blog-image'); ?>
								</div><!--/.entry-featured-image-->
							<?php } ?>

							<div class="entry-content">
								<?php

									echo apply_filters('the_content', substr(get_the_content(), 0, 200) );

									wp_link_pages( array(
										'before' => '<div class="page-links">' . __( 'Pages:', 'pixova-lite' ),
										'after'  => '</div>',
									) );

								?>
							</div><!-- .entry-content -->
							<div class="clearfix"></div><!--/.clearfix-->
						</article><!-- #post-## -->
			</section><!--/section-->
		</div><!--/.col-lg-8-->

		<div class="col-lg-3 col-md-3 col-sm-3 hidden-xs pull-right">
			<div class="mt-blog-sidebar">
				<?php
				if(is_active_sidebar('blog-sidebar')) {
					dynamic_sidebar('blog-sidebar');
				} else {
					the_widget( 'WP_Widget_Search', sprintf('title=%s', __('Search', 'pixova-lite') ) );
					the_widget( 'WP_Widget_Calendar', sprintf('title=%s', __('Calendar', 'pixova-lite') ) );
				}
				?>
			</div> <!--/.mt-blog-sidebar-->
		</div><!--/.col-lg-3-->

		<div class="mt-custom-pagination col-lg-12">
			<?php pixova_lite_pagination(); ?>
		</div> <!--/.mt-custom-pagination-->

        </section><!--/section-->
	</div><!--/.row-->
</div><!--/.container-->